package cn.loan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: 毛苏宇
 * @Description: 首页
 * @Date: Create in 11:50 2019/3/20
 */
@Controller
@RequestMapping("/home")
public class HomeController {

    /**
     * 跳转到首页
     * @return 首页
     */
    @GetMapping("/index")
    public String index(){
        return "/index";
    }

}
